package ControllerP
import DomainP.Trip

class CurrentController {

    def index = { 
        redirect(action: "current")
    }
    
    def current = {
        def trips = Trip.list()
        [trips:trips]
    }
}